package com.bw.paper.mvp.di;

import com.bw.paper.mvp.contact.LoginContract;
import com.bw.paper.mvp.model.LoginModel;

import dagger.Module;
import dagger.Provides;


@Module
public class LoginModules {
    private LoginContract.LoginView  view;

    public LoginModules(LoginContract.LoginView view) {
        this.view = view;
    }

    @Provides
    public LoginContract.LoginView providerView() {
        return view;
    }

    @Provides
    public LoginContract.LoginModel providerModel(LoginModel model) {
        return model;
    }
}
